package com.lipaluma.field.merge;

public class FieldMergedFunction {
	private FieldMergedAlgorithm algorithm;
	private String[] params;
	
	public FieldMergedFunction(FieldMergedAlgorithm algorithm, String... params) {
		this.algorithm = algorithm;
		if(params == null)
			params = new String[0];
		else
			this.params = params;
	}

	public FieldMergedAlgorithm getAlgorithm() {
		return algorithm;
	}
	
	public String[] getParams() {
		return params;
	}
}
